﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using DBUtility;
using IDAL;
using Model;

namespace DAL
{
    public class TAssembleDetailItem : BaseRepository<TAssembleDetailItemInfo>, ITAssembleDetailItem
    {
        private const string PARM_ASSEMBLEDETAILITEM_PRODUCTSN = "@ProductSN";
        private const string PARM_ASSEMBLEDETAILITEM_RECORDTIME = "@RecordTime";





        //-------------------------------------重写超类基础操作---------------------------------------------------------

        public override TAssembleDetailItemInfo GetEntityRecord(SqlDataReader rdr)
        {
            TAssembleDetailItemInfo pro = new TAssembleDetailItemInfo(rdr.GetValue(0).ToString(), rdr.GetDateTime(1), rdr.GetValue(2).ToString());
            return pro;
        }
    }
}
